<template>
<Tabs :value="tab">
  <TabPane label="未开始" name="1">
    <op></op>
  </TabPane>
  <TabPane label="待处理" name="2">
    <doing></doing>
  </TabPane>
  <TabPane label="流转中" name="3">
    <flowing></flowing>
  </TabPane>
  <TabPane label="已完成" name="4">
    <finish></finish>
  </TabPane>
</Tabs>
</template>
<script>
import op from "./orderop"
import doing from "./orderdoing"
import flowing from "./orderflowing"
import finish from "./orderfinish"
export default {
  data(){
    return{
      tab: this.$route.params.tab
    }
  },
  components: {
    op,
    doing,
    flowing,
    finish
  },
}
</script>